Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Manipulating Printer Objects


GXCountPrinterViewDevices

You can use the GXCountPrinterViewDevices function to obtain the number of view devices associated with a particular printer object.

long GXCountPrinterViewDevices (gxPrinter aPrinter);
aPrinter
A reference to the printer object whose view devices you want to count.
function result
The number of view devices associated with the printer object specified by the aPrinter parameter.
DESCRIPTION
The GXCountPrinterViewDevices function returns the number of view devices associated with the specified printer object. A printer object can have multiple view devices, one for each possible combination of printer resolution and color space.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
For an example that uses the GXCountPrinterViewDevices function, see "Determining a Printer's Resolution" on page 4-26.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help